<template>
  <div>
      <div class="flex">
      <div class="title">下部结构</div>
      <div style="width:90%">
    <el-form
      :model="bridgeCardPier"
      label-width="120px"
      class="demo-ruleForm"
      
    >
      <el-form-item label="桥墩形式:" size="small">
        <el-input v-model.trim="bridgeCardPier.pierForm" size="small" clearable></el-input>
     </el-form-item>
      <el-form-item label="桥墩基地标高:" size="small">
        <el-input v-model.trim="bridgeCardPier.pierBaseElevation" size="small" clearable></el-input>
      </el-form-item>
      <el-form-item label="桥墩数量:" size="small">
        <el-input v-model.trim="bridgeCardPier.pierNumber" size="small" clearable></el-input>
      </el-form-item>
      <el-form-item label="桥墩底板尺寸:" size="small">
        <el-input v-model.trim="bridgeCardPier.pierFloorSize" size="small" clearable></el-input>
     </el-form-item>
      <el-form-item label="桥墩标高:" size="small">
        <el-input v-model.trim="bridgeCardPier.pierElevation" size="small" clearable></el-input>
     </el-form-item>
      <el-form-item label="桥墩基桩根数:" size="small">
        <el-input v-model.trim="bridgeCardPier.mainGirderForm" size="small" clearable></el-input>
     </el-form-item>
      <el-form-item label="盖梁尺寸:" size="small">
        <el-input v-model.trim="bridgeCardPier.pierCapSize" size="small" clearable></el-input>
     </el-form-item>
    </el-form>
      <el-form
      :model="bridgeCardAbutment"
      label-width="120px"
      class="demo-ruleForm"
    >
      <el-form-item label="桥台底板尺寸:" size="small">
        <el-input v-model.trim="bridgeCardAbutment.abutmentFloorSize" size="small" clearable></el-input>
    </el-form-item>
      <el-form-item label="桥台形式:" size="small">
        <el-input v-model.trim="bridgeCardAbutment.abutmentForm" size="small" clearable></el-input>
     </el-form-item>
      <el-form-item label="桥台基桩尺寸:" size="small">
        <el-input v-model.trim="bridgeCardAbutment.abutmentPileSize" size="small" clearable></el-input>
      </el-form-item>
      <el-form-item label="桥台数量:" size="small">
        <el-input v-model.trim="bridgeCardAbutment.abutmentNumber" size="small" clearable></el-input>
     </el-form-item>
      <el-form-item label="桥台基桩根数:" size="small">
        <el-input v-model.trim="bridgeCardAbutment.abutmentPileNumber" size="small" clearable></el-input>
     </el-form-item>
      <el-form-item label="桥台基底标高:" size="small">
        <el-input v-model.trim="bridgeCardAbutment.abutmentBaseElevation" size="small" clearable></el-input>
     </el-form-item>
      <el-form-item label="台帽尺寸:" size="small">
        <el-input v-model.trim="bridgeCardAbutment.abutmentCapSize" size="small" clearable></el-input>
     </el-form-item>
       <el-form-item label="底板尺寸:" size="small">
        <el-input v-model.trim="bridgeCardAbutment.abutmentFloorSize" size="small" clearable></el-input>
     </el-form-item>
      <el-form-item label="挡土板厚度:"  size="small">
        <el-input v-model.trim="bridgeCardAbutment.abutmentRetainingPlankThickness" size="small" clearable></el-input>
     </el-form-item>
      <el-form-item label="翼墙形式:" size="small">
        <el-input v-model.trim="bridgeCardAbutment.abutmentWallForm" size="small" clearable></el-input>
      </el-form-item>
       <el-form-item label="翼墙长度:" size="small">
        <el-input v-model.trim="bridgeCardAbutment.abutmentWallLength" size="small" clearable></el-input>
      </el-form-item>
    </el-form>
      </div>
    </div>
  </div>
</template>

<script>
export default {
    name:'substructure',
    props: {
        bridgeCardPier: {
            type: Object,
            default() {
                return {}
            }
        },
        bridgeCardAbutment: {
            type: Object,
            default() {
                return {}
            }
        }
    },
  methods: {
      emitPier() {
        return this.bridgeCardPier
      },
      emit() {
        return this.bridgeCardAbutment
      }
  }
};
</script>
<style scoped>
.title {
  font-size: 20px;
  font-weight: 500;
}
.el-form{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
    .el-form-item--small.el-form-item {
    margin-bottom: 12px;
}
</style>